SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 68189: The PlatformWebServices.log file is not populated in the correct location

DetailsAboutRate It

In SAS® 9.4M7 (TS1M7) and SAS® 9.4M8 (TS1M8), the PlatformWebServices.log file might not be created in the expected path.

On UNIX operating systems, directories might be created with the name ${env:GUI_LOGDIR}. On Microsoft Windows operating systems, the PlatformWebServices.log file might not be created at all.

This issue can occur if the GUI_LOGDIR environment variable is not set in the Web Application Server.

Circumvention

On UNIX operating systems, complete these steps:

  1. Navigate to SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer14_1/bin/. Add the following line in the setenv.sh file:​

   export GUI_LOGDIR="$CATALINA_BASE/logs/"

  1. Confirm that there is a SASGridManager-log4j.xml file in the folder SAS-configuration-directory/Lev1/Web/Common/LogConfig. If the file is not there, refer to SAS Note 68188, "The SAS® Grid Manager log does not populate as expected for Platform Web Services."
     
  2. Restart SASServer14 with the following commands:

       SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer14_1/bin/tcruntime-ctl.sh stop
       
    SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer14_1/bin/tcruntime-ctl.sh start
     
  3. Confirm that the PlatformWebServices.log file is created in the folder SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer14_1/logs.
     
  4. After you confirm that the file is present, remove the ${env:GUI_LOGDIR} directories.

On Windows operating systems, complete these steps:

  1. Navigate to SAS-configuration-directory\Lev1\Web\WebAppServer\SASServer14_1\conf\. Open wrapper.conf and go to the set section at the top of the file. If the following line is present, remove it:

    set.GUI_LOGDIR=$CATALINA_BASE/logs/

    If the following line is not present, add it:

    set.GUI_LOGDIR=%CATALINA_BASE%/logs/
     
  2. Rebuild the Windows Service for SASServer14_1, as described here:
    Rebuild Windows Service for Each SAS Web Application Server Instance
     
  3. Start the SASServer14_1 service.
     
  4. Confirm that the PlatformWebServices.log file is created in SAS-configuration-directory\Lev1\Web\WebAppServer\SASServer14_1\logs.


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemPlatform Web Services for SASMicrosoft® Windows® for x641.71.79.4 TS1M79.4 TS1M8
64-bit Enabled AIX1.71.79.4 TS1M79.4 TS1M8
64-bit Enabled Solaris1.71.79.4 TS1M79.4 TS1M8
HP-UX IPF1.71.79.4 TS1M79.4 TS1M8
Linux for x641.71.79.4 TS1M79.4 TS1M8
Solaris for x641.71.79.4 TS1M79.4 TS1M8
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.